package com.xzp.entity;

import java.util.Date;

/**
 * @author chenmin
 * 2025/4/19
 * @desc TODO
 */
public class User {

	private Integer id;
	private String username;
	//private Date birthday;
	//日期LocalDate  日期与时间LocalDateTime
	private Date birthday;
	private String sex;
	private String address;

	public User() {
	}

    /*public User(Integer id, String username, Date birthday, String sex, String address) {
        this.id = id;
        this.username = username;
        this.birthday = birthday;
        this.sex = sex;
        this.address = address;
    }*/

	public User(Integer id, String username, Date birthday, String sex, String address) {
		this.id = id;
		this.username = username;
		this.birthday = birthday;
		this.sex = sex;
		this.address = address;
	}

	public User(String 张三, String 男, String date, String number) {
	}

	/**
	 * 获取
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * 设置
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 获取
	 * @return birthday
	 */
    /*public Date getBirthday() {
        return birthday;
    }*/

	public Date getBirthday() {
		return birthday;
	}

	/**
	 * 设置
	 * @param birthday
	 */
    /*public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }*/
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	/**
	 * 获取
	 * @return sex
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * 设置
	 * @param sex
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * 获取
	 * @return address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	public String toString() {
		return "User{id = " + id + ", username = " + username + ", birthday = " + birthday + ", sex = " + sex + ", address = " + address + "}";
	}
}
